Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20250207/aws ecs 김진우 기술블로그 제출 #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KJU3
Copy link

@KJU3 KJU3 commented Feb 2, 2025

No description provided.

@KJU3 KJU3 self-assigned this Feb 2, 2025
@HongDaniel
Copy link

기술블로그 만드시느라 고생 많으셨습니다!
리뷰를 남겼으니 확인해보시면 좋을 것 같아요:)

3. 빌드된 Docker 이미지를 **Amazon Elastic Container Registry(ECR)**에 Push합니다.
4. ECS는 **ECR에 등록된 최신 이미지를 가져와 실행**합니다.
5. **Application Load Balancer(ALB)를 이용해 롤링 업데이트 방식으로 무중단 배포**를 진행합니다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

롤백 전략은 구축하셨죠?
배포상 문제가 발생했을 때 롤백 프로세스를 어떻게 구축했는지 포함하면 좋을 것 같습니다.

Comment on lines +71 to +80
## 3. ECS CI/CD 파이프라인 구성의 장점

### ✅ 자동화된 배포
GitHub, Jenkins, ECS, ECR을 연동하여 **CI/CD 파이프라인을 구축**함으로써 코드 변경 사항이 자동으로 배포됩니다.

### ✅ 무중단 배포
ALB와 롤링 업데이트를 활용하여 **배포 중에도 애플리케이션이 정상 동작**합니다.

### ✅ 효율적인 리소스 관리
Fargate 기반 ECS를 사용하면 **서버 관리 없이 컨테이너 실행**이 가능하며, EC2 기반 ECS를 사용하면 **비용 최적화 및 유연한 확장**이 가능합니다.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ECS CI/CD 파이프라인 구성의 장점과 더불어 단점도 소개하면 좋을 것 같습니다(EKS와의 비교). 특히 Fargate 기반 ECS같은 경우에는 서버리스의 장점이 있긴하지만 비용 때문에 현업에서 활용을 안하는 곳도 많습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants